package com.xiaomaoguai.observer.pull;


/**
 * @ FileName: Observer.java
 * @ Author: WeiHui-Z
 * @ Date: 2017/4/25 14:15
 * @ Version: v1.0.0
 */
public interface Observer {

    /**
     * 更新接口
     *
     * @param subject 传入主题对象，方便获取相应的主题对象的状态
     */
    void update(Subject subject);
}
